<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------


/*--------------------------------------------
* 添加路由规则：
* 1、路由到index控制器的hello操作方法
* 2、浏览器访问：http://域名/hello/参数
* -------------------------------------------*/
//方式一（在:name外面添加[]，表示路由参数name为可选）：
//Route::get('cha/expressfreightcalculate/index', 'cha/ExpressFreightCalculateController/index');


//控制器命名有多个驼峰时，需要在此定义路由
//方式二：[a=>b]将a重定向到b
return [
    'order/group/index' => '/admin/order_group/index ', //分仓规则
    'cha/expressfreightcalculate/index' => '/cha/express_freight_calculate/index', //试算运费
    'cha/expressfreightcalculate/preSalePrice' => '/cha/express_freight_calculate/preSalePrice', //商品预售价格计算
    'cha/expressattr/index' => '/cha/express_attr/index', //物流属性首页
    'cha/expressattr/add' => '/cha/express_attr/add', //添加物流属性页面
    'cha/expressattr/delete' => '/cha/express_attr/delete', //删除物流属性
    'cha/expressattr/save' => '/cha/express_attr/save', //新增或更新物流属性
    'cha/expresscountry/index' => '/cha/express_country/index', //国家物流规则页面
    'cha/expresscountry/add' => '/cha/express_country/add', //新增国家物流规则页面
    'cha/expresscountry/delete' => '/cha/express_country/delete', //删除国家物流规则
    'cha/expresscountry/save' => '/cha/express_country/save', //新增或更新国家物流规则
    'cha/expresscountry/info' => '/cha/express_country/info', //获取国家物流规则详情
    'cha/expressincludeattr/index' => '/cha/express_include_attr/index', //物流可走属性页面
    'cha/expressincludeattr/add' => '/cha/express_include_attr/add', //新增物流可走属性页面
    'cha/expressincludeattr/delete' => '/cha/express_include_attr/delete', //删除物流可走属性页面
    'cha/expressincludeattr/save' => '/cha/express_include_attr/save', //新增或更新物流可走属性
];
